package com.zxq.ai.domain.exception;

import com.zxq.common.utils.exception.DomainException;
import com.zxq.common.utils.exception.ErrorCode;

public class UserTypeInvalidException extends DomainException {

    public UserTypeInvalidException(String message) {
        super(message);
    }

    public UserTypeInvalidException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public ErrorCode getCode() {
        return ErrorCode.USER_TYPE_INVALID_EXCEPTION;
    }
}
